package com.amigo.online.provider.manager.service;

import java.util.List;

import com.amigo.online.provider.manager.model.entity.AdvRecommendApplyTbl;
import com.amigo.online.provider.manager.model.entity.AdvRecommendSourceTbl;
import com.amigo.online.provider.manager.model.entity.AdvRecommendStockTbl;
import com.amigo.online.provider.manager.model.entity.AdvRecommendVideoTbl;
import com.amigo.online.provider.manager.result.AdvRecommendApplyInfo;

public interface AdvRecommendApplyTblService {


    List<AdvRecommendSourceTbl> findRecommendSourceList(Long advId);// id查询资源

    boolean saveAdvRecommendSourceTbl(AdvRecommendSourceTbl advRecommendSourceTbl);// 添加资源

    boolean updateAdvRecommendSourceTbl(AdvRecommendSourceTbl advRecommendSourceTbl);// 修改資源

    boolean deleteAdvRecommendSourceTbl(AdvRecommendSourceTbl advRecommendSourceTbl);// 删除资源


    boolean savaAdvRecommendStockTbl(AdvRecommendStockTbl ahst);// 添加库存

    boolean updateAdvRecommendStockTbl(AdvRecommendStockTbl ahst);// 修改库存

    boolean deleteAdvRecommendStockTbl(Long id);// 删除库存


    List<AdvRecommendApplyTbl> findAdvRecommendApplyTbl(AdvRecommendApplyTbl ahat);// 查询广告申请

    AdvRecommendApplyTbl saveAdvRecommendApplyTbl(AdvRecommendApplyTbl ahat);// 添加申请

    boolean updateAdvRecommendApplyTbl(AdvRecommendApplyTbl ahat);// 修改申请

    boolean deleteAdvRecommendApplyTbl(AdvRecommendApplyTbl ahat);// 删除申请

    boolean checkAdv(AdvRecommendApplyTbl ahat);// 审核申请


    AdvRecommendApplyInfo findAdvRecommendApplyTblParticulars(Long id);//查询申请表详情


    boolean saveAdvRecommendVideoTbl(AdvRecommendVideoTbl advRecommendVideoTbl);//添加热门视频广告资源


    boolean updateAdvRecommendVideoTbl(AdvRecommendVideoTbl advRecommendVideoTbl);//修改热门视频广告详情

    boolean deleteAdvRecommendVideoTbl(AdvRecommendVideoTbl advRecommendVideoTbl);//删除热门视频广告详情
}
